package com.hgd.evp.common.utils;

import java.util.List;

/**
 * @author 尚村山夫
 *
 */
public class TableResultResponse<T> {
	private Long total;
	private List<T> rows;
	private String message;
	private Integer status = 200;

	public TableResultResponse(long total, List<T> rows) {
		this.total = total;
		this.rows = rows;
	}

	public TableResultResponse() {
		super();
	}

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}
